#!/bin/zsh
rm -rf workspace
docker run -itd --name vuedhjkashjkdhkashdkj simon-vue-image:v1 /bin/bash
docker cp  vuedhjkashjkdhkashdkj:/root/workspace  ./
docker rm  -f vuedhjkashjkdhkashdkj
cp mcp_start.sh ./workspace
#cp -rf demo workspace
#docker run -it --name vue -v workspace:/root/workspace simon-vue-image:v1 npm install
#docker rm  -f vue

#cat <<EOF >  workspace/vue.config.js
#module.exports = {
#  devServer: {
#    host: '0.0.0.0', // 允许所有网络接口访问
#    port: 80,      // 确保端口号与你启动的端口一致
#    allowedHosts: 'all', // 允许所有主机访问
#    historyApiFallback: true // 如果需要，可以启用此配置
#  }
#}
#EOF

